package com.sc.nft.admin.request;


import com.sc.nft.entity.req.AddAndUpdateCastWayConfRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class AddAndUpdateCastConfRequest {

    @ApiModelProperty(value = "铸造id")
    private Long id;

    @ApiModelProperty(value = "商品id")
    @NotNull(message = "商品id不能为空")
    private Long productId;

    @ApiModelProperty(value = "商品名称")
    private String productName;


    @ApiModelProperty(value = "排序")
    private Long sort;

    @ApiModelProperty(value = "铸造方式")
    @NotNull(message = "铸造方式不能为空")
    private List<AddAndUpdateCastWayConfRequest> castWayList;

}
